package com.phoenix.jsef.basedata.pojo;

import com.phoenix.jsef.framework.Entity;
import com.phoenix.jsef.framework.annotations.EntityAttribute;
import java.util.Date;

 /**   
 * @ClassName: CBaseRoleEntity  
 * @Description:TODO(该类为数据中 表:base_role 对应的商业实体类.)   
 * @author: 李启联
 * @date:   2019-8-6 16:41:33  
 * @version V1.0     
 * @Copyright: Copyright (c) 2018
 * 申明：本内容未经作者本人同意,禁止外泄以及用于其他的商业项目.
 */
@EntityAttribute(selectTable = "base_role", updateTable = "base_role", identityProperty = "id")
@SuppressWarnings("serial")
public class CBaseRoleEntity extends Entity {
	// 编号
	private String id;		
	// 角色名称
	private String name;		
	// 父角色编号，一级角色为null 
	private String parentId;		
	// 类型   0：目录(角色分组)  1：角色
	private Long type;		
	// 备注
	private String remark;		
	// 创建人
	private String createUser;		
	// 创建时间
	private Date createTime;		
	// 更新人
	private String lastUpdateUser;		
	// 更新时间
	private Date lastUpdateTime;		
	// 是否删除  1：已删除  0：正常
	private Boolean isDel;		
	// 角色路径
	private String path;		
	
	public String getId(){
		return this.id;
	}
	public void setId(String id){
		this.id = id;
	}
	
	public String getName(){
		return this.name;
	}
	public void setName(String name){
		this.name = name;
	}
	
	public String getParentId(){
		return this.parentId;
	}
	public void setParentId(String parentId){
		this.parentId = parentId;
	}
	
	public Long getType(){
		return this.type;
	}
	public void setType(Long type){
		this.type = type;
	}
	
	public String getRemark(){
		return this.remark;
	}
	public void setRemark(String remark){
		this.remark = remark;
	}
	
	public String getCreateUser(){
		return this.createUser;
	}
	public void setCreateUser(String createUser){
		this.createUser = createUser;
	}
	
	public Date getCreateTime(){
		return this.createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	public String getLastUpdateUser(){
		return this.lastUpdateUser;
	}
	public void setLastUpdateUser(String lastUpdateUser){
		this.lastUpdateUser = lastUpdateUser;
	}
	
	public Date getLastUpdateTime(){
		return this.lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime){
		this.lastUpdateTime = lastUpdateTime;
	}
	
	public Boolean getIsDel(){
		return this.isDel;
	}
	public void setIsDel(Boolean isDel){
		this.isDel = isDel;
	}
	
	public String getPath(){
		return this.path;
	}
	public void setPath(String path){
		this.path = path;
	}
	
	
	public CBaseRoleEntity(){
	}
	
	@Override
    public String toString(){
    	return " CBaseRoleEntity ["
    	       +" id = " +id +" ,"
    	       +" name = " +name +" ,"
    	       +" parentId = " +parentId +" ,"
    	       +" type = " +type +" ,"
    	       +" remark = " +remark +" ,"
    	       +" createUser = " +createUser +" ,"
    	       +" createTime = " +createTime +" ,"
    	       +" lastUpdateUser = " +lastUpdateUser +" ,"
    	       +" lastUpdateTime = " +lastUpdateTime +" ,"
    	       +" isDel = " +isDel +" ,"
    	       +" path = " +path   
    	       +" ]";
    }
	
}